from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

base_url = "mysql+pymysql://sa:abc@192.168.120.158:3306/atcdb"

engine = create_engine(base_url, pool_pre_ping=True, ech=True)
session_local = sessionmaker(bind=engine, autoflush=True, autocommit=True)
